﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types;

namespace Kz.Telegram.Bot.Console.HandleUpdate
{
    public class ChannelPostHandler : IHandler
    {
        public async Task Handle(ITelegramBotClient botClient, Update update, CancellationToken cancellationToken)
        {
            /*
             {
				"update_id": 720931364,
				"channel_post": {
					"message_id": 18,
					"sender_chat": {
						"id": -1002140171434,
						"type": "channel",
						"title": "KZ机器人_频道",
						"username": "kzbotchannel"
					},
					"date": 1708483214,
					"chat": {
						"id": -1002140171434,
						"type": "channel",
						"title": "KZ机器人_频道",
						"username": "kzbotchannel"
					},
					"text": "111"
				}
			}
             */
        }
    }
}
